// This file is part of Indico.
// Copyright (C) 2002 - 2025 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

@use 'base/palette' as *;

:global(.ui.button).scroll-btn {
  background-color: $teal;
  color: $light-gray;
  position: fixed;
  bottom: 10px;
  right: 10px;
  opacity: 0;
  z-index: 1001;
  transition: opacity 0.25s ease-in;

  &.visible {
    opacity: 0.75;
  }

  &:hover,
  &:focus {
    background-color: $dark-teal;
    color: $light-gray;
  }
}
